package rpcx_device_simulator

import (
	"context"
	"gobase/rpcx_work_flow/rpcx_connect_centre"
	"gobase/rpcx_work_flow/rpcx_device_manager_centre"
)

/* DeviceManager */

// 设备管理中心新增：

// DeviceStatus 设备状态信息
type DeviceStatus struct {
	DeviceID string
	IsOnline bool
	Status   string
}

type DeviceStatusResponse struct {
	rpcx_connect_centre.CommonResponse
	DeviceStatusList []*DeviceStatus
}

// GetSimulatorDeviceStatus 获取模拟设备状态列表
func GetSimulatorDeviceStatus(ctx context.Context, tid string, response *DeviceStatusResponse) error {
	return nil
}

// 设备管理中心已有接口：

// CameraHistoryFileList 获取历史文件列表
func CameraHistoryFileList(ctx context.Context, requestParam *rpcx_device_manager_centre.VideoFlowControl, response *rpcx_connect_centre.HistoryFileListResponse) error {
	return nil
}

// CameraGimbalControl 云台控制
func CameraGimbalControl(ctx context.Context, requestParam *rpcx_device_manager_centre.PTZControlParam, response *rpcx_device_manager_centre.RespPTZControl) error {
	return nil
}

// PTZPresetControl 云台预制点(设置)
func PTZPresetControl(ctx context.Context, requestParam *rpcx_device_manager_centre.PresetControlParam, response *rpcx_device_manager_centre.RespPTZControl) error {
	return nil
}

// PTZPresetList 云台预制点列表
func PTZPresetList(ctx context.Context, requestParam *rpcx_device_manager_centre.ReqPTZControl, response *rpcx_device_manager_centre.RespPTZControl) error {
	return nil
}
